package top.dancun.easteacher.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.dancun.common.utils.PageUtils;
import top.dancun.easteacher.entity.EvaluationTeachingEntity;

import java.util.List;

/**
 * 评教表
 * 
 * @author dancun
 * @email message@dancun.top
 * @date 2022-11-05 10:17:22
 */
@Mapper
public interface EvaluationTeachingDao extends BaseMapper<EvaluationTeachingEntity> {
    List<EvaluationTeachingEntity> groupByTidAndSemester(@Param(Constants.WRAPPER) Wrapper wrapper);

    IPage<EvaluationTeachingEntity> getAllGroupByTidAndSemester(@Param("page") IPage page);

}
